Skip to content

Comments

Fix moving outside brackets on pressing <CR>#2

Open
gauravjuvekar wants to merge 3 commits intovim-scripts:masterfrom
gauravjuvekar:master
Open

Fix moving outside brackets on pressing <CR>#2
gauravjuvekar wants to merge 3 commits intovim-scripts:masterfrom
gauravjuvekar:master

Conversation

@gauravjuvekar
Copy link

Earlier behaviour (C code example)

if (condition) {|} // Cursor at |

Pressing now changed it to

if (condition) {
}|

After this fix, pressing changes it to

if (condition) {
|
}

Earlier behaviour (C code example)

if (condition) {|} // Cursor at |

Pressing <CR> now changed it to

if (condition) {
}|

After this fix, pressing <CR> changes it to

if (condition) {
|
}
@gauravjuvekar
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant